package com.studyroom.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class RoomMember {
    @TableId(type= IdType.AUTO)
    private Long id;
    @TableField(value = "room_id")
    private Long roomId;
    @TableField(value = "user_id")
    private Long userId;
    private Integer seatnumber;
    private String purpose;
    private LocalDateTime created;
}
